#include<stdio.h>
void Chline(char ch, int column, int row);

int main(void)
{	    		 	  
    int x, y;
    char ch;
    printf("input a char:\n");
    scanf("%c", &ch);
    printf("input column and row:\n");
    scanf("%d%d", &x, &y);
    Chline(ch, x, y);
    return 0;
}	    		 	  

void Chline(char ch, int column, int row)
{	    		 	  
    int x, y;
    for (y = 0; y < row; y++)
    {	    		 	  
        for (x = 0; x < column; x++)
            printf("%c", ch);
        printf("\n");
    }
}